MaxDetect
MaxDetect[image] gives a binary image in which white pixels correspond to constant extended maxima in image.
MaxDetect[image,h] finds extended maxima where the range of values is not greater than h.
MaxDetect[data,…] applies maxima detection to an array of data.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.